/*
 *  Copyright (c) M2TK Project. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package m2tk.assistant.app.kernel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

@TableName("t_si_event")
public class SIEventEntity
{
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("transport_stream_id")
    private Integer transportStreamId;
    @TableField("original_network_id")
    private Integer originalNetworkId;
    @TableField("service_id")
    private Integer serviceId;
    @TableField("event_id")
    private Integer eventId;
    @TableField("reference_service_id")
    private Integer referenceServiceId;
    @TableField("reference_event_id")
    private Integer referenceEventId;
    @TableField("start_time")
    private LocalDateTime startTime;
    @TableField("duration")
    private Integer duration;
    @TableField("running_status")
    private Integer runningStatus;
    @TableField("event_name")
    private String eventName;
    @TableField("event_description")
    private String eventDescription;
    @TableField("language_code")
    private String languageCode;

    @TableField("is_free_access")
    private Boolean freeAccess;
    @TableField("is_present_evt")
    private Boolean presentEvent;
    @TableField("is_schedule_evt")
    private Boolean scheduleEvent;
    @TableField("is_nvod_shift_evt")
    private Boolean nvodTimeShiftedEvent;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getTransportStreamId()
    {
        return transportStreamId;
    }

    public void setTransportStreamId(Integer transportStreamId)
    {
        this.transportStreamId = transportStreamId;
    }

    public Integer getOriginalNetworkId()
    {
        return originalNetworkId;
    }

    public void setOriginalNetworkId(Integer originalNetworkId)
    {
        this.originalNetworkId = originalNetworkId;
    }

    public Integer getServiceId()
    {
        return serviceId;
    }

    public void setServiceId(Integer serviceId)
    {
        this.serviceId = serviceId;
    }

    public Integer getEventId()
    {
        return eventId;
    }

    public void setEventId(Integer eventId)
    {
        this.eventId = eventId;
    }

    public Integer getReferenceServiceId()
    {
        return referenceServiceId;
    }

    public void setReferenceServiceId(Integer referenceServiceId)
    {
        this.referenceServiceId = referenceServiceId;
    }

    public Integer getReferenceEventId()
    {
        return referenceEventId;
    }

    public void setReferenceEventId(Integer referenceEventId)
    {
        this.referenceEventId = referenceEventId;
    }

    public LocalDateTime getStartTime()
    {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime)
    {
        this.startTime = startTime;
    }

    public Integer getDuration()
    {
        return duration;
    }

    public void setDuration(Integer duration)
    {
        this.duration = duration;
    }

    public Integer getRunningStatus()
    {
        return runningStatus;
    }

    public void setRunningStatus(Integer runningStatus)
    {
        this.runningStatus = runningStatus;
    }

    public String getEventName()
    {
        return eventName;
    }

    public void setEventName(String eventName)
    {
        this.eventName = eventName;
    }

    public String getEventDescription()
    {
        return eventDescription;
    }

    public void setEventDescription(String eventDescription)
    {
        this.eventDescription = eventDescription;
    }

    public String getLanguageCode()
    {
        return languageCode;
    }

    public void setLanguageCode(String languageCode)
    {
        this.languageCode = languageCode;
    }

    public Boolean getFreeAccess()
    {
        return freeAccess;
    }

    public void setFreeAccess(Boolean freeAccess)
    {
        this.freeAccess = freeAccess;
    }

    public Boolean getPresentEvent()
    {
        return presentEvent;
    }

    public void setPresentEvent(Boolean presentEvent)
    {
        this.presentEvent = presentEvent;
    }

    public Boolean getScheduleEvent()
    {
        return scheduleEvent;
    }

    public void setScheduleEvent(Boolean scheduleEvent)
    {
        this.scheduleEvent = scheduleEvent;
    }

    public Boolean getNvodTimeShiftedEvent()
    {
        return nvodTimeShiftedEvent;
    }

    public void setNvodTimeShiftedEvent(Boolean nvodTimeShiftedEvent)
    {
        this.nvodTimeShiftedEvent = nvodTimeShiftedEvent;
    }
}
